namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 批次号工位绑定表
    /// </summary>
    [SugarTable("BatchBinding")]
    public class BatchBinding : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 产线代号
        /// </summary>
        public string LineCode { get; set; }

        /// <summary>
        /// 工位代号
        /// </summary>
        public string StationCode { get; set; }

        /// <summary>
        /// 批次序号
        /// </summary>
        public int BatchNo { get; set; }

        /// <summary>
        /// 批次条码
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 零件代号
        /// </summary>
        public string PartCode { get; set; }

        /// <summary>
        /// 供应商代码
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 物料代码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 批次数量
        /// </summary>
        public int? SingleQty { get; set; }

        /// <summary>
        /// 统一代号
        /// </summary>
        public string PartUniCode { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatorName { get; set; }
    }
}